package com.it.Demo1;

public class Person {
    public String name;
    public float height;
    public float weight;

    public Person(String name, float height, float weight) {
        this.name = name;
        this.height = height;
        this.weight = weight;
    }

    public void sayHello(){
        System.out.println("my name is "+name);
    }
}
